<jsp:include page="header.jsp" />
<jsp:include page="sidenav.jsp" />
<div id="content">

    <h1>Revise a book</h1>
	<hr />
            
	<form id="additem" method="post"  enctype='multipart/form-data' action="ReviseItem.do">
	
		<input type="hidden" name="id" value="${id}"></input>
		
		<table width="373" border="0" cellpadding="5" cellspacing="5" bordercolor="#000000">
          <tr>
            <td width="41%"><label for="title">Book Title</label></td>
            <td width="59%"><input type="text" name="title" id="title" value="${title}" /></td>
          </tr>
          <tr>
            <td><label for="description">Description</label></td>
            <td><input type="text" name="description" id="description" value="${description}"/></td>
          </tr>
          <tr>
            <td><label for="price">Price</label></td>
            <td><input type="text" name="price" id="price" value="${price}"/></td>
          </tr>
          <tr>
            <td><label for="buyItNowPrice">BuyItNowPrice</label></td>
            <td><input type="text" name="buyItNowPrice" id="buyItNowPrice" /></td>
          </tr>
          <tr>
            <td><label for="image">Image</label></td>
            <td><input type="file" name="image" id="image" /></td>
          </tr>
          <tr>
            <td colspan="2"><button type="submit" value="add">Edit</button></td>
          </tr>
        </table>
		
		<br><br><font color=#FF0000>${error}</font>
		
   
	</form>

</div>
<jsp:include page="footer.jsp" />